/*
 * Message template for communications.
 */
package ws.websk.chatEndpoint2.messages;

/**
 *
 * @author Jens-Marius Nergård Hansen
 */
public class NicknameMessage extends Message{
    private String nickname;    // The requested nickname
  
    public NicknameMessage(String nickname) {
        super("nickname");
        this.nickname = nickname;
    }
    
    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }
}
